package com.juyu.miliao.api.service;

import com.juyu.miliao.api.domain.TextCommunication;
import com.juyu.miliao.api.service.cache.TextCommunicationCacheService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 文字沟通service
 * @Auther: 卜加超
 * @Date: 2019/4/24 11:25
 * @Description:
 */
@Service
public class TextCommunicationService {
    @Resource
    private TextCommunicationCacheService textCommunicationCacheService;
    public List<TextCommunication> getTextCommunicationList() {
        return textCommunicationCacheService.getTextCommunicationList();
    }
}
